import request from '@/utils/request';

export function fetchProgress(params) {
    return request('/api/gmstask/v1/hr/overview/recruit/progress', {
        method: 'post',
        data: params
    });
}

export function fetchRecuritment(params) {
    return request('/api/gmstask/v1/hr/overview/recruit/efficiency', {
        method: 'post',
        data: params
    });
}

export function fetchPerspective(params) {
    return request(`/api/gmstask/v1/hr/overview/gethrperspectiveview?companyId=${params.companyId}`, {
        method: 'GET'
    });
}

// 员工结构分布
export function fetchEmployeeConstructView(params) {
    return request('/api/gmstask/v1/hr/overview/employeeconstructview', {
        method: 'post',
        data: params
    });
}
